package com.lee.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author Lee
 * @createDate 2022/1/5 17:44
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "=====PaymentFallbackService--paymentInfo_OK-- fall back!";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "=====PaymentFallbackService--paymentInfo_Timeout-- fall back!";
    }
}
